﻿using System;

namespace Zjh.PackSerializer.Attributes
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public class PackMemberAttribute : Attribute
    {
        public int Index { get; }

        public PackMemberAttribute(int index)
        {
            Index = index;
        }
    }
}